
## DRUM on Mac {: #drum-on-mac }

The following instructions describe installing DRUM with `conda` (although you can use other tools if you prefer) and then using DRUM to test a task locally. Before you begin, DRUM requires:

* An installation of [`conda`](https://docs.conda.io/en/latest/miniconda.html){ target=_blank }.

* A Python environment (also required for R) of 3.7+.

### Install DRUM on Mac {: #install-drum-mac }

1. Create and activate a virtual environment with Python 3.7+. In the terminal for 3.8, run:

	``` sh
	conda create -n DR-custom-tasks python=3.8 -y
	conda activate DR-custom-tasks
	```

2. Install DRUM:

	``` sh
	conda install -c conda-forge uwsgi -y
	pip install datarobot-drum
	```

3. To set up the environment, install [Docker Desktop](https://www.docker.com/products/docker-desktop){ target=_blank } and download from GitHub the DataRobot [drop-in environments](https://github.com/datarobot/datarobot-user-models/tree/master/public_dropin_environments){ target=_blank } where your tasks will run. This recommended procedure ensures that your tasks run in the same environment both locally and inside DataRobot.

	Alternatively, if you plan to run your tasks in a local `python` environment, install packages used by your custom task into the same environment as DRUM.

